﻿// Copyright (c) Inossem. All rights reserved.
// Licensed under the LGPL-3.0 license. See LICENSE file in the project root for full license information.
using Newtonsoft.Json;

namespace DWF.Studio.V8Communicator.Messages.Debugger
{
    public class ScriptParsedEvent : IV8ResponeseParams
    {
        [JsonProperty("scriptId")]
        public string ScriptId { get; set; }

        [JsonProperty("url")]
        public string Url { get; set; }

        [JsonProperty("startLine")]
        public int StartLine { get; set; }

        [JsonProperty("endLine")]
        public int EndLine { get; set; }

        [JsonProperty("startColumn")]
        public int StartColumn { get; set; }

        [JsonProperty("endColumn")]
        public int EndColumn { get; set; }

        [JsonProperty("executionContextId")]
        public int ExecutionContextId { set; get; }

        [JsonProperty("length")]
        public int Length { get; set; }

        [JsonProperty("scriptLanguage")]
        public string ScriptLanguage { get; set; }
    }
}